package com.baor.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baor.common.annotation.Excel;
import com.baor.common.core.domain.BaseEntity;

/**
 * 商品评价对象 t_reviews
 * 
 * @author ruoyi
 * @date 2025-07-18
 */
public class TReviews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品评价ID */
    private Long reviewsId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long commoId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String reviewsContent;

    /** 评价等级 */
    @Excel(name = "评价等级")
    private Long reviewsLevel;

    /** 审核状态：0拒绝，1通过 */
    @Excel(name = "审核状态：0拒绝，1通过")
    private Long audit;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reviewsTime;

    /** 商家回复 */
    @Excel(name = "商家回复")
    private String reply;

    /** 删除标志：0未删除，1删除 */
    @Excel(name = "删除标志：0未删除，1删除")
    private Long delflag;

    private String commoName;

    private String commoIcon;

    private String isTop;

    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }

    public String getCommoName() {
        return commoName;
    }

    public void setCommoName(String commoName) {
        this.commoName = commoName;
    }

    public String getCommoIcon() {
        return commoIcon;
    }

    public void setCommoIcon(String commoIcon) {
        this.commoIcon = commoIcon;
    }


    public void setReviewsId(Long reviewsId)
    {
        this.reviewsId = reviewsId;
    }

    public Long getReviewsId() 
    {
        return reviewsId;
    }

    public void setCommoId(Long commoId) 
    {
        this.commoId = commoId;
    }

    public Long getCommoId() 
    {
        return commoId;
    }

    public void setReviewsContent(String reviewsContent) 
    {
        this.reviewsContent = reviewsContent;
    }

    public String getReviewsContent() 
    {
        return reviewsContent;
    }

    public void setReviewsLevel(Long reviewsLevel) 
    {
        this.reviewsLevel = reviewsLevel;
    }

    public Long getReviewsLevel() 
    {
        return reviewsLevel;
    }

    public void setAudit(Long audit) 
    {
        this.audit = audit;
    }

    public Long getAudit() 
    {
        return audit;
    }

    public void setReviewsTime(Date reviewsTime) 
    {
        this.reviewsTime = reviewsTime;
    }

    public Date getReviewsTime() 
    {
        return reviewsTime;
    }

    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }

    public void setDelflag(Long delflag) 
    {
        this.delflag = delflag;
    }

    public Long getDelflag() 
    {
        return delflag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reviewsId", getReviewsId())
            .append("commoId", getCommoId())
            .append("reviewsContent", getReviewsContent())
            .append("reviewsLevel", getReviewsLevel())
            .append("audit", getAudit())
            .append("reviewsTime", getReviewsTime())
            .append("reply", getReply())
            .append("delflag", getDelflag())
            .append("createTime", getCreateTime())
            .toString();
    }
}
